/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class UploadPdfEntity {
    @NotNull
    private final String pdfUrl;

    public UploadPdfEntity(@NotNull String pdfUrl) {
        Intrinsics.checkNotNullParameter(pdfUrl, "pdfUrl");
        this.pdfUrl = pdfUrl;
    }

    public static /* synthetic */ UploadPdfEntity copy$default(UploadPdfEntity uploadPdfEntity, String str, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = uploadPdfEntity.pdfUrl;
        }
        return uploadPdfEntity.copy(str);
    }

    @NotNull
    public final String component1() {
        return this.pdfUrl;
    }

    @NotNull
    public final UploadPdfEntity copy(@NotNull String pdfUrl) {
        Intrinsics.checkNotNullParameter(pdfUrl, "pdfUrl");
        return new UploadPdfEntity(pdfUrl);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof UploadPdfEntity) && Intrinsics.areEqual(this.pdfUrl, ((UploadPdfEntity) obj).pdfUrl);
    }

    @NotNull
    public final String getPdfUrl() {
        return this.pdfUrl;
    }

    public int hashCode() {
        return this.pdfUrl.hashCode();
    }

    @NotNull
    public String toString() {
        return "UploadPdfEntity(pdfUrl=" + this.pdfUrl + ')';
    }
}